// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.linqingying.gitcode.pullrequest.ui.timeline

import com.linqingying.gitcode.api.data.pullrequest.GCPullRequestCommitShort
import java.util.*

class GCPRTimelineGroupedCommits : GCPRTimelineGroupedItems<GCPullRequestCommitShort>() {
  override val createdAt: Date?
    get() = items.mapNotNull { it.createdAt }.maxOrNull()
}
